#ifndef VOCABULARY_H
#define VOCABULARY_H
#include <QObject>

class Vocabulary
{
public:

    int getId() const;
    void setId(int newId);
    const QString &getVocabulary_name() const;
    void setVocabulary_name(const QString &newVocabulary_name);
    int getVocabulary_size() const;
    void setVocabulary_size(int newVocabulary_size);

private:
    int id;          //0 到65535,对应数据库 smallint unsigned
    QString vocabulary_name;         //词汇名称
    int vocabulary_size;
};

#endif // VOCABULARY_H
